public class Test {
    public static void main(String[] args) {
        BinarySearchTree binarySearchTree=new BinarySearchTree();
        binarySearchTree.insert(6);
        binarySearchTree.insert(9);
        binarySearchTree.insert(10);
        binarySearchTree.insert(7);
        binarySearchTree.insert(10);
        binarySearchTree.insert(4);
        binarySearchTree.insert(3);
        binarySearchTree.insert(2);
        binarySearchTree.remove(10);
    }
}
